home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / research / examples / doc / sigprc13 < prev    next >
Text File  |  1997-07-08  |  353b  |  10 lines

  1. ; This batch file computes the coefficients of a discrete transfer
  2. ; function used in the Infinite Impulse Respose filter example from
  3. ; Chapter 13, "Signal Processing", of _Using IDL_.
  4.  
  5. delt = 0.02
  6. f0 = 6.5 ; notch frequency in cycles / second
  7. C = (1.0-!PI*f0*delt) / (1.0+!PI*f0*delt)
  8. B = [(1+C^2)/2, -2*C, (1+C^2)/2]
  9. A = [   C^2,    -2*C,     1    ]
  10.